package com.yidu.BusinessManagement.controller;

import com.yidu.BusinessManagement.service.TaSettementService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *TA交易结算的控制类
 * @Version 1.0
 * @Author zsc
 * @Date 2023/1/30 21:53
 */
@RestController
public class TaSettementController {
    @Resource
    TaSettementService taSettementService;

    @RequestMapping("/updateTaSettlement")
    /**
     * 获取ta数据的值传到资金调拨，修改交易类型
     */
    public int updateTaSettlement(String Settlement){
        return taSettementService.updateTaSettlement (Settlement);
    }

    /**
     * 获取ta数据的值传到资金调拨，修改交易类型
     */
    @RequestMapping("/updateTaSettlementTwo")
    public int updateTaSettlementTwo(String Settlement){
        return taSettementService.updateTaSettlementTwo (Settlement);
    }

}
